import { createRouter, createWebHashHistory } from "vue-router";

import One from '../views/One.vue';
import Two from '../views/Two.vue';

export default createRouter({
  history: createWebHashHistory(),
  routes: [
    { path: "/", component: One },
    { path: "/two", component: Two }
  ] // 路由配置规则数组
});